Nesting control statement
Example (Step 2)
Julien is shopping
at a mall and
he finds a CD that he wants to
buy. if Julien doesn't have
enough money, before going
out to get a job, he could look
for a friend to borrow the
money from.
if
(my_money > cost_of_CD)
then
buy_CD
else
if
(see_a_friend)
then
borrow_money
else
get_a_job
end if;
end if;